<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="{:U($Think.ACTION_NAME)}" method="get">
        <input type="hidden" name="pageSize" value="{$Think.session.pageSize}">
        <input type="hidden" name="pageCurrent" value="{$Think.session.pageCurrent}">
        <input type="hidden" name="orderField" value="{$Think.session.orderField}">
        <input type="hidden" name="orderDirection" value="{$Think.session.orderDirection}">
        <div class="bjui-searchBar">
            <input type="hidden" name="id" value="{$search.mid}">
            <label>发布时间：</label><input type="text" name="rtime" readonly="readonly" value="{$search.rtime}" class="form-control" size="12" data-toggle="datepicker" />
            <label>作者：</label><input type="text" name="mnickname" value="{$search.mnickname}" class="form-control" />
            <label>评论内容：</label><input type="text" name="content" value="{$search.content}" class="form-control" />
            <button type="submit" class="btn-default" data-icon="search">查询</button>
            <div class="pull-right">
                <div class="btn-group">
                    <button type="button" class="btn-default dropdown-toggle" data-toggle="dropdown" data-icon="copy">功能操作<span class="caret"></span></button>
                    <ul class="dropdown-menu right" role="menu">
                        <li><a href="{:U('rdel')}" data-toggle="doajaxchecked" data-confirm-msg="确定要删除选中项吗？" data-idname="ids" data-group="ids"><i class="fa fa-times"></i> 删除数据</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </form>
</div>

<div class="bjui-pageContent">
    <!-- 内容区 -->
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="10%">视频标题</th>
            <th width="10%">作者</th>
            <th>评论内容</th>
            <th width="85">发布时间</th>
            <th width="20"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
            <th width="25">操作</th>
        </tr>
        </thead>
        <volist name="list" id="vo">
            <tr>
                <td>{$vo['vtitle']|cutStr=###,40}</td>
                <td>{$vo.mnickname}</td>
                <td>{$vo.content}</td>
                <td>{$vo.rtime|date="Y-m-d H:i:s",###}</td>
                <td><input type="checkbox" name="ids" data-toggle="icheck" value="<?= $vo[rid]?>"></td>
                <td>
                    <a href="{:U('rdel?id=' . $vo[rid])}" data-icon="times" title="删除内容" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除选中项吗？" data-icon="times"></a>
                </td>
            </tr>
        </volist>
    </table>
</div>
<include file="./App/Common/View/Common/pageFooter.html" />